package com.chaoyi.config;

import java.util.ResourceBundle;

public class MongoConfig {
	public static final String mongoIp;
	public static final int mongoPort;
	public static final String mongoUser;
	public static final String mongoPwd;
	
	static{
		ResourceBundle rb = ResourceBundle.getBundle("mongo-config");
		mongoIp = rb.getString("mongo_ip");
		mongoPort = Integer.parseInt(rb.getString("mongo_port"));
		mongoUser = rb.getString("mongo_user");
		mongoPwd = rb.getString("mongo_pwd");
	}
}
